package com.ys.enume.sys;

public class TsDictionaryForModuleEnum {
	
	public enum MenuType {
		ONE("一级菜单", 1), TWO("二级菜单", 2);
		public String name;
		public Integer value;

		private MenuType(String name, Integer value) {
			this.name = name;
			this.value = value;
		}
	}
	
	/**
	 * 功能是否启用
	 */
	public enum ModuleEnableSet {
		YES("启用", 1), NO("禁用", 0);
		public String name;
		public Integer value;

		private ModuleEnableSet(String name, Integer value) {
			this.name = name;
			this.value = value;
		}
	}
	
	/**
	 * 功能是否显示
	 */
	public enum ModuleState {
		YES("显示", 1), NO("不显示", 0);
		public String name;
		public Integer value;

		private ModuleState(String name, Integer value) {
			this.name = name;
			this.value = value;
		}
	}
	
	/**
	 * 模板类型
	 */
	public enum TempletType {
		LIST("列表", 1), TREE_WITH_LIST("树+列表", 2), SELF_DEFINE("自定义", 10);
		public String name;
		public Integer value;

		private TempletType(String name, Integer value) {
			this.name = name;
			this.value = value;
		}
	}
	
	/**
	 * 使用单号连接符
	 */
	public enum ModuleBidAddCon {
		YES("是", 1), NO("否", 0);
		public String name;
		public Integer value;

		private ModuleBidAddCon(String name, Integer value) {
			this.name = name;
			this.value = value;
		}
	}
	
	/**
	 * 功能级别
	 */
	public enum ModuleLevel {
		ZERO("0", 0),
		ONE("1", 1),
		TWO("2", 2),
		THREE("3", 3),
		FOUR("4", 4),
		FIVE("5", 5),
		SIX("6", 6),
		SEVEN("7", 7),
		EIGHT("8", 8),
		NINE("9", 9),
		TEN("10", 10);
		public String name;
		public Integer value;

		private ModuleLevel(String name, Integer value) {
			this.name = name;
			this.value = value;
		}
	}
	
	/**
	 * 是否身份验证
	 */
	public enum PasswordAuthentication {
		NO("无需验证", "no"),
		USERPASSWORD("登录密码验证", "userpassword"),
		USERPASSWORD2("二级密码验证", "userpassword2");
		public String name;
		public String value;

		private PasswordAuthentication(String name, String value) {
			this.name = name;
			this.value = value;
		}
	}
	
	/**
	 * 是否选中框
	 */
	public enum StateCheckBox {
		YES("是", 1), NO("否", 0);
		public String name;
		public Integer value;

		private StateCheckBox(String name, Integer value) {
			this.name = name;
			this.value = value;
		}
	}
}
